package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 自定义信息包含菜单底部菜单轮播图也适用
 * @author Rongjie
 */
@Data
@TableName("mall_customize")
@KeySequence(value = "mall_customize_SEQ")
@ApiModel(value = "MallCustomize对象")
public class MallCustomize implements Serializable{

       private String appKey;

       @TableId(value = "customize_key", type = IdType.UUID)
       private String customizeKey;

       private String storeKey;

       @ApiModelProperty(value = "1 首页banner 2菜单图标 3底部图标", example = "1")
       private Integer type;

       @ApiModelProperty(value = "标题名称")
       private String title;

       @ApiModelProperty(value = "图标图片")
       private String pic;

       @ApiModelProperty(value = "点击前图标")
       private String clickagoIcon;

       @ApiModelProperty(value = "点击后图标")
       private String clickafterIcon;

       @ApiModelProperty(value = "1.内链 2.外部小程序 3.客服消息")
       private Boolean linkType;

       @ApiModelProperty(value = "链接类型 1基本 2商品分类", example = "1")
       private Integer urlType;

       @ApiModelProperty(value = "链接地址")
       private String url;

       @ApiModelProperty(value = "链接带参数", example = "1")
       private Integer urlTypeid;

       @ApiModelProperty(value = "链接名称")
       private String urlName;

       @ApiModelProperty(value = "外部小程序APPID")
       private String appid;

       @ApiModelProperty(value = "外部小程序链接地址")
       private String path;

       @ApiModelProperty(value = "排序 越大越前", example = "1")
       private Integer sort;

       @ApiModelProperty(value = "启用状态 1启用", example = "1")
       private Integer state;

       private Integer createTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
